<?php

		
//启动 				   void	Yii::app()->pay->tenpay->topay('测试商品01',0.01);
//回调 				boolean	Yii::app()->pay->tenpay->notify		
//回调后				tid为支付的订单交易号，price为支付的订单金额
//获取当前交易单号		int	Yii::app()->pay->tenpay->tid
//获取当前交易金额	  float	Yii::app()->pay->tenpay->price

return array(
	'class' => 'lib.ext.pay.Pay',
	'paymentModel' => 'Payment',
	'handler' => array(
		'alipay' => array(
			'class' => 'lib.ext.pay.alipay.Alipay',
			'returnUrl' => 'http://test.lysc.info/pay/aplipayNotify',
		),
		'tenpay' => array(
			'class' => 'lib.ext.pay.tenpay.Tenpay',
			'returnUrl' => 'http://test.lysc.info/pay/notify',
		)
	),
	'debug' => false,
);